package com.shhic.itsed.mws.deviceintf;

import java.io.Serializable;

/**
 * 原始标签操作结果
 * 考虑适配标签读取结果和标签操作结果（写、锁、杀死等），抽象此基类
 * 
 * @author 张文硕
 *
 */
public abstract class RawTagOperationResult implements Serializable{

	private static final long serialVersionUID = 1L;

	//本基类中定义了标签发现的位置
	protected String readerClass;	//设备类型
	protected String readerId;	//阅读器标识
	protected String readerIp;	//设备地址
	protected String antennaNo;	//天线号
	protected String tagProtocol;	//标签协议类型：EPC/6B
	
	protected long discoverTimestamp;	//发现时间戳
	protected long discoverCount = 1;	//发现次数
	
	
	public abstract String getTagIdentifier();
	
	public String getReaderClass() {
		return readerClass;
	}
	public void setReaderClass(String readerClass) {
		this.readerClass = readerClass;
	}
	public String getReaderId() {
		return readerId;
	}
	public void setReaderId(String readerId) {
		this.readerId = readerId;
	}
	public String getReaderIp() {
		return readerIp;
	}
	public void setReaderIp(String readerIp) {
		this.readerIp = readerIp;
	}
	public String getAntennaNo() {
		return antennaNo;
	}
	public void setAntennaNo(String antennaNo) {
		this.antennaNo = antennaNo;
	}
	public String getTagProtocol() {
		return tagProtocol;
	}
	public void setTagProtocol(String tagProtocol) {
		this.tagProtocol = tagProtocol;
	}
	public long getDiscoverTimestamp() {
		return discoverTimestamp;
	}
	public void setDiscoverTimestamp(long discoverTimestamp) {
		this.discoverTimestamp = discoverTimestamp;
	}
	public long getDiscoverCount() {
		return discoverCount;
	}
	public void setDiscoverCount(long discoverCount) {
		this.discoverCount = discoverCount;
	}
}
